package cn.zynworld.hnister.chats.enums;

public enum MqttQosEnum {
	MOST_ONCE(0,"最多一次"),
	LEAST_ONCE(1,"至少一次"),
	EXACTLY_ONCE(2,"保证一次");
	private int code;
	private String desc;

	MqttQosEnum(int code, String desc) {
		this.code = code;
		this.desc = desc;
	}

	public String getDesc() {
		return desc;
	}

	public int getCode() {
		return code;
	}
}
